home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK2.toast / Development Kits (Disc 2) / QuickTime / Programming Stuff / Documentation / develop articles / develop Issue 21 / GetCodecInfoApp ƒ / GetCodecInfoApp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-26  |  1003 b   |  45 lines  |  [TEXT/MMCC]

  1. /*
  2.     File:        GetCodecInfoApp.h
  3.     
  4.     Contains:    Code for develop column .
  5.  
  6.     Written by:    John Wang
  7.  
  8.     Copyright:    © 1994 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.         <1>        11/01/94    JW        New.
  13.  
  14.     To Do:
  15.     
  16. */
  17.  
  18. #ifdef THINK_C
  19. #define        applec
  20. #endif
  21.  
  22. #define    kDLOG_ERROR                128
  23.  
  24. #define    kSTR_INTRO                128
  25. #define    kSTR_COMPRESS            129
  26. #define    kSTR_DECOMPRESS            130
  27.  
  28. /* ------------------------------------------------------------------------- */
  29.  
  30. pascal    ComponentResult CallGetCodecInfo(ComponentInstance inst, CodecInfo *info) = {0x2F3C, 4, codecGetCodecInfo,0x7000,0xA82A};
  31.  
  32. void    main(void);
  33. void    ReportWarning(Str255 theStr);
  34. void    WriteStr(Str255 str);
  35. void    WriteBuf(unsigned char *str, long count);
  36. void    WriteReturn(void);
  37. void    WriteResourceStr(short id);
  38.  
  39. void    ReportHeader(void);
  40. void    ReportCodecList(void);
  41. void    ReportCompressor(CodecInfo *info);
  42. void    ReportDecompressor(CodecInfo *info);
  43. void    ReportCompressorSpeed(OSType type);
  44. void    ReportDecompressorSpeed(OSType type);
  45.